package com.tllq.zhongkang.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tllq.zhongkang.entity.Coupon;
import com.tllq.zhongkang.entity.Couponoff;
import com.tllq.zhongkang.entity.Message;
import com.tllq.zhongkang.entity.ResultMap;

import java.util.ArrayList;


public interface CouponService extends IService<Couponoff> {
//    查询消费
    public IPage<Couponoff> findPage(Long startime, Long endtime, Integer page, Integer size);

    public Message insertCoupon(ArrayList<Coupon> coupons);
}
